

<template>
  <Table v-model:data="authority.data.value" >
    <el-table-column label="sub" prop="sub"/>
    <el-table-column label="obj" prop="obj"/>
    <el-table-column label="act" prop="act"/>
    <el-table-column fixed="right" label="操作" width="200px">
      <template #default="scope">
        <el-button link type="primary" size="small" >编辑</el-button>
        <el-button link type="danger" size="small">删除</el-button>
      </template>
    </el-table-column>
  </Table>
</template>
<script setup lang="ts">
import {authority} from './authority_api'
import {onMounted, ref} from "vue";
import Table from '@/components/common/Table.vue'
const dialogVisible = ref(false)
const data = []

onMounted(async () => {
 await authority.List()

})
</script>
<style scoped>

</style>